package com.yzpass.api.user.controller;

import com.yzpass.api.common.Constant;
import com.yzpass.api.common.Result;
import com.yzpass.api.user.service.ProfileService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Set;

@RestController
@RequestMapping(value = Constant.API + "profile")
public class ProfileController {
    @Resource
    ProfileService profileService;

    @GetMapping("menu")
    public Result<ProfileService.MenuPermission> menu() {
        return profileService.menu();
    }

}

